projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c68c754
)
xim: Convert to GdkEvent API
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 26 Aug 2017 02:55:38 +0000
(22:55 -0400)
committer
Carlos Garnacho
<carlosg@gnome.org>
Tue, 19 Sep 2017 16:39:02 +0000
(18:39 +0200)
modules/input/gtkimcontextxim.c
patch
|
blob
|
history
diff --git
a/modules/input/gtkimcontextxim.c
b/modules/input/gtkimcontextxim.c
index c8f20f74387eb9c0d3d73b5c5e9b8857af0d1214..3095fcfabdca5ba8e818e0842ee26b0df859ce15 100644
(file)
--- a/
modules/input/gtkimcontextxim.c
+++ b/
modules/input/gtkimcontextxim.c
@@
-677,7
+677,7
@@
gtk_im_context_xim_filter_keypress (GtkIMContext *context,
xevent.type = (event_type == GDK_KEY_PRESS) ? KeyPress : KeyRelease;
xevent.serial = 0; /* hope it doesn't matter */
- xevent.send_event =
event->send_event
;
+ xevent.send_event =
gdk_event_is_sent ((GdkEvent *)event)
;
xevent.display = GDK_WINDOW_XDISPLAY (window);
xevent.window = GDK_WINDOW_XID (window);
xevent.root = DefaultRootWindow(GDK_WINDOW_XDISPLAY (window));